home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 3 / Info_Mac_1994-01.iso / Development / General / GCC 1.37.1r15 / Tests / raw.c < prev    next >
C/C++ Source or Header  |  1993-01-03  |  293b  |  23 lines

  1. struct Point {
  2.  short v;
  3.  short h;
  4. };
  5.  
  6. typedef struct Point Point;
  7.  
  8. pascal void GlobalToLocal(Point *pt, Point *pt1, Point *pt2, Point *pt3)
  9.     = 0xA871;
  10.  
  11. Point glob;
  12.  
  13. Point ToLocal(Point pt)                    
  14.     GlobalToLocal(&pt, &glob, &glob, &glob); 
  15.     return pt;
  16. }
  17.  
  18. main()
  19. {
  20.     glob = ToLocal(glob);
  21. }
  22.